package org.speed.mvc.service.handler;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Order(1)
@Component("aHander")
public class Ahandler implements IHandler,BeanNameAware {

	private String name;
	
	@Override
	public void exc() {
		System.out.println("Ahandler,name=" + name);
		
	}

	@Override
	public void setBeanName(String name) {
		this.name = name;
	}

}
